#pragma once
#include <iostream>
using namespace std;
#include <assert.h>

class Date
{
public:

	Date(int year , int month, int day);
	Date(const Date& dd);
	void Print();
	int GetMonthDay(int year, int month);

	bool operator == (const Date& dd);
	bool operator != (const Date& dd);
	bool operator > (const Date& dd);
	bool operator >= (const Date& dd);
	bool operator < (const Date& dd);
	bool operator <= (const Date& dd);

	Date& operator += (int x);
	Date operator + (int x);

	Date& operator-=(int x);
	Date operator-(int x);

	Date& operator ++();
	Date operator ++(int x);

	int operator - (const Date& d);

private:
	int _year;
	int _month;
	int _day;
};
